package com.tengju.user.application.archives.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 调查问卷填写内容
 */
@Data
public class SurveyContentDTO {

    @ApiModelProperty("用户idCode")
    Long idCode;

    @ApiModelProperty("问卷调查ID")
    @NotNull(message = "问卷调查ID不能为空")
    Long surveyId;

    @ApiModelProperty("问卷调查问题填写内容")
    List<SurveyQuestionResultDTO> questionResults;
}
